From e6462d8438d7eccd9c3c812a65036b210cf7ae33 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 22 Dec 2024 17:22:23 +0000 Subject: Add symbols for tables --- ...(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithTables(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithTables(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithTables(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 5d8e2af5..d6b7a5e5 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithTables(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithTables(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -4,10 +4,13 @@ module.wasm: file format wasm 0x1 Section Details: Table[2]: - - table[0] type=funcref initial=1 - - table[1] type=externref initial=2 max=3 + - table[0] type=funcref initial=1 + - table[1] type=externref initial=2 max=3 Custom: - name: "linking" + - symbol table [count=2] + - 0: T table=0 [ binding=global vis=default ] + - 1: T table=1 [ binding=global vis=default ] Custom: - name: "name" -- cgit v1.2.3